package org.example.param;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class CommentAddParam {
    @NotBlank(message = "评论内容不能为空!!!")
    private String content;
    @NotNull(message = "参数异常!!!")
    private Long articleId;
    private Long parentId;
    private Integer level;
}
